feat: add CameraLabelsComponent for typed per-camera image labels#84
Merged
janickm merged 3 commits intoNVIDIA:mainfrom May 6, 2026
Merged
Conversation
ca30157 to
c5c6a5a
Compare
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
Collaborator
Author
|
[I'm still iterating on the design a little + testing with waymo / data-verse labels, but this is the rough setup] |
ea17609 to
151567f
Compare
janickm
commented
May 6, 2026
151567f to
c8022c9
Compare
919ac93 to
63de1ad
Compare
63de1ad to
e2234b2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a comprehensive camera label type system to the NCore data API, including new data types, protocols, and component integration for handling camera-associated image labels. The changes enable structured access to camera label metadata, schemas, and data, and provide a foundation for future extensibility in label handling.
The most important changes are:
1. New Camera Label Type System
LabelCategory,LabelUnit,LabelEncoding,LabelType,QuantizationParams,LabelSchema, andCameraLabelDescriptorinncore.impl.data.typesto provide structured representation of label metadata, encoding, and quantization. Well-known label types are now exposed as class-level constants for convenience. [1] [2] [3]2. Protocols and Interfaces for Camera Labels
CameraLabelsProtocolto define a standard interface for accessing camera-associated image labels, including methods for querying, retrieving, and describing labels. This protocol is exposed in the public API and integrated into the compatibility layer. [1] [2] [3] [4]3. Integration into Data API and Components
ncore.dataandncore.data.v4public APIs to expose the new label types and protocols, and addedCameraLabelsComponentfor component-based access to camera labels. The v4 compatibility layer now wrapsCameraLabelsComponent.Readerto implement the new protocol. [1] [2] [3] [4] [5] [6] [7] [8] [9]4. API Consistency and Documentation
5. Minor Typing and Import Improvements
ClassVarand additional typing improvements.These changes lay the groundwork for advanced camera label handling and make the NCore data API more extensible and robust for future label-related features.
Example of panoptic segmentation in waymo datasets visualized with

ncore_viz